const path = require('path');
const BASE_URL=process.env.NODE_ENV==='production'? '/on-java8-web':'/';
console.log("config process: ");
console.log(process);
let conf = {
	resolve: {
		alias: {
			'@': path.resolve(__dirname, 'src/'),
		},
	},
	module: {
		// rules: [{
		// 	test: /\.md$/,
		// 	use: [{
		// 			loader: "html-loader"
		// 		},
		// 		{
		// 			loader: "markdown-loader",
		// 			options: {}
		// 		}
		// 	]
		// }]
	},
};
module.exports = {
	configureWebpack: conf,
	publicPath: BASE_URL
}
